package website
{
	import flash.display.Sprite;
	import flash.text.*;
	
	import org.osmf.html.HTMLElement;
	
	import spark.components.BorderContainer;
	
	
	public class Myborder extends BorderContainer
	{
		public var rich:Myrichtext=new Myrichtext();
		public var bdrimg:Myimg=new Myimg();
		public var bdrlab:Mylab=new Mylab();
		public function Myborder():void
		{
			addElement(bdrimg);
			percentHeight=70;
			percentWidth=45;
			x=180;
			y=200;
			setStyle("borderWeight",15);
			
			bdrimg.x=13;
			bdrimg.y=27;
			bdrimg.source="assets/home_icon.png";
			bdrimg.width=56;
			bdrimg.height=57;
			addElement(bdrlab);
			bdrlab.x=75;
			bdrlab.y=41;
			bdrlab.text="Home";
			bdrlab.setStyle("fontSize",30);
			bdrlab.setStyle("fontWeight","bold");
			bdrlab.setStyle("textAlign","left");
			//bdrlab.setStyle("verticalAlign","middle");
			bdrlab.setStyle("color","#0082FB");
			addElement(rich);
			//rich.setStyle("color","red");
			//rich.setStyle("textAlign","center");
			
			//rich.text=txt;
		}
	}
}